Interactive Alpha Matting |
Install |
- Install Microsoft Visual C++ Redistributable for Visual Studio 2022 (x64).
- Download the file and unzip it.
|
How to use it |
- Run "interactive alpha matting.exe".
- Open an image file.
- Paint the foreground (red) and background (blue).
- Drag with Left mouse button to paint the foreground (red).
- Hold Control + drag with Left mouse button to paint the background (blue).
- Drag with Right mouse button to change the brush size.
- Hold Shift + drag with Left mouse button to erase colors.
- "Matting (single-reso)" or "Matting (multi-reso)" to compute alpha matting.
- "single-reso" uses a single-resolutional approach, while "multi-reso" uses a multi-resolutional approach.
- "Kernel size" is the size of the kernel used for propagation.
- "Sigma" is the propagation strength with respect to the color difference.
- "Tau" is the propagation strength with respect to the distance.
- "Threshold for binarization" is the threshold for binarization.
|
|
License |
Please don't use it for commercial purposes.
The software is licensed under the 3-clause BSD License.
The third party libraries are redistributed with the software,
and their terms of the license are shown here.
|